package com.wuchao.ehcache.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author WuChao
 * @version 1.0
 * @date 2020/4/21 18:49
 */
@Entity
@Table(name = "user")
@Data
public class User  implements Serializable {
    @Id
    private Integer id;
    private String userName;
    private String password;

}
